package com.getpebble.android.framework.protocol.outbound;

import com.getpebble.android.framework.protocol.EndpointId;

public class PblOutboundCoreDumpMessage extends PblOutboundMessage {
    private byte mTransactionId;

    public PblOutboundCoreDumpMessage(byte transactionId) {
        super(EndpointId.CORE_DUMP);
        this.mTransactionId = transactionId;
    }

    public synchronized byte[] getBytes() {
        if (!areBytesCached()) {
            addBytes(Byte.valueOf((byte) 0));
            addBytes(Byte.valueOf(this.mTransactionId));
        }
        return super.getBytes();
    }
}
